package com.xxbb.chapter_3.dome4;

//员工类
public class Personnel extends Common {
	public Personnel() {

	}

	public Personnel(String _name, String _personnelId, String _department) {
		this.name = _name;
		this.personnelId = _personnelId;
		this.department = _department;
	}

	// 名称
	private String name;
	// 员工id
	private String personnelId;
	// 部门
	private String department;
	// 对象数
	private int number;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPersonneld() {
		return personnelId;
	}

	public void setPersonneld(String personneld) {
		this.personnelId = personneld;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public int getNumber() {
		return number;
	}

	public void setNumber(int number) {
		this.number = number;
	}
}
